package com.zjhn.ds.domain.dto.mt;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.dto.pad
 * @Author: sxt
 * @CreateTime: 2023-09-23  13:43
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProTaskDto {

    @ApiModelProperty("生产单id")
    @JsonProperty("pro_task_id")
    private String proTaskId;

    @ApiModelProperty("生产单号")
    @JsonProperty("pro_task_code")
    private String proTaskCode;

    @ApiModelProperty("订单号")
    @JsonProperty("trade_order_code")
    private String tradeOrderCode;

    @ApiModelProperty("客户品番/货号")
    @JsonProperty("style_code")
    private String styleCode;

    @ApiModelProperty(value = "客户")
    private String customer;

    @ApiModelProperty("生产数")
    @JsonProperty("produce_qty")
    private String produceQty;

    @ApiModelProperty("生产计划数/任务数")
    @JsonProperty("plan_qty")
    private String planQty;

    @ApiModelProperty("订单创建时间/下单时间")
    @JsonProperty("order_time")
    private String orderTime;

    @ApiModelProperty("生产单创建时间/开始时间")
    @JsonProperty("task_time")
    private String taskTime;

//    @ApiModelProperty("预计完成时间")
//    @JsonProperty("finish_time")
//    private String finishTime;

    @ApiModelProperty(value = "交期")
    @JsonProperty("delivery_date")
    private String deliveryDate;

    @ApiModelProperty(value = "生产交期")
    @JsonProperty("order_hod")
    private String orderHod;

    @ApiModelProperty(value = "是否过期，true-是，false-否")
    @JsonProperty("over_due")
    private boolean overDue;

    @ApiModelProperty(value = "总货号")
    @JsonProperty("kh_style")
    private String khStyle;
}
